package com.speedchina.common.upload.annotation;

import java.lang.annotation.*;

/**
 * 唯一校验注解
 * @author suyuan
 * @date 2021/6/8 9:31
 */
@Target({ElementType.METHOD, ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
//@Constraint(validatedBy = {UniqueCollectionValidator.class})
public @interface Unique {
    String name() default "";

}
